$(function () {
    $.menuSelector('#dishes_tag');

    Ifonly.DateRangePicker();

    var $dt = Ifonly.DataTable({
        searching: false,
        c_filter: true,
        ordering: true,
        ajax: {
            url: g.ctx + '/dishes/tag/dt'
        },
        "order": [
            [0, null] //第一列排序图标改为默认
        ],
        "columns": [
            Ifonly.DTKit.auto,
            {"data": "name"},
            {"data": "tag"},
            {"data": "create_time"},
            {"data": "description"},
            {
                "data": "id",
                "orderable": false,
                render: Ifonly.DTKit.render()
            }
        ]
    });
});